#include<iostream> 
#include<string>
#include"student.h"
using namespace std;
void Student::display()
{
  cout<<"num:"<<num<<endl;
  cout<<"name:"<<name <<endl;
cout<<"sex:"<<sex<<endl;
}
void Student::set_value()
{
	char name[20];
	int num;
	char sex;
	cout<<"name:";
	cin>>name;
	cout<<"num:";
	cin>>num;
	cout<<"sex:";
	cin>>sex;
	strcpy(this->name,name);
	this->sex=sex;
	this->num=num;
}
